package 行为型模型.状态模式;

public class Context {
    private State state;
    protected void setSate(State state){
        this.state=state;
        state.handle();
    }

}
